clear all;

load('FigureOA58.mat')

fig=figure('color', [1 1 1 ], 'Position',[200 20 800 320]);
subplot(1,2,1)
bar(gridd1,f1,1,'facecolor','blue');
title('A. Num. of markets in group 1', 'FontSize',12,'Interpreter','Latex');
xlabel('num. of markets in group 1', 'FontSize',12,'Interpreter','Latex');
ylabel('num. of segments', 'FontSize',12,'Interpreter','Latex');
xticks(0:10:50);
set(gca,'FontSize',12);
subplot(1,2,2);
bar(gridd2,f2,1,'facecolor','blue');
title('B. Num. of markets in group 2', 'FontSize',12,'Interpreter','Latex');
xlabel('num. of markets in group 2', 'FontSize',12,'Interpreter','Latex');
ylabel('num. of segments', 'FontSize',12,'Interpreter','Latex');
xticks([0:6:36])
% yticks(1.0:0.3:2.5);
set(gca,'FontSize',12);
